package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 销售单审核表
 * </p>
 *
 * @author 陶启然
 * @since 2019-07-30
 */
@TableName("both_sale_audit")
public class BothSaleAudit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 两地销售申请id 
     */
    @TableField("both_sale_id")
    private Long bothSaleId;

    /**
     * 流程实例id
     */
    @TableField("process_instance_id")
    private String processInstanceId;

    /**
     * 任务ID
     */
    @TableField("task_id")
    private String taskId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 审核结果true通过，false不通过
     */
    @TableField("audit_status")
    private Boolean auditStatus;

    /**
     * 审核意见
     */
    @TableField("comment")
    private String comment;

    /**
     * 审核时间
     */
    @TableField("audit_time")
    private Date auditTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBothSaleCommitId() {
        return bothSaleId;
    }

    public void setBothSaleCommitId(Long bothSaleCommitId) {
        this.bothSaleId = bothSaleCommitId;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Boolean getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Boolean auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    @Override
    public String toString() {
        return "BothSaleAudit{" +
        "id=" + id +
        ", bothSaleCommitId=" + bothSaleId +
        ", processInstanceId=" + processInstanceId +
        ", taskId=" + taskId +
        ", userId=" + userId +
        ", auditStatus=" + auditStatus +
        ", comment=" + comment +
        ", auditTime=" + auditTime +
        "}";
    }
}
